<!DOCTYPE html>
<html>
    <head>
        <title>Boroshare Admin</title>
        <meta charset="UTF-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <link rel="stylesheet" href="__CSS__/bootstrap.min.css" />
        <link rel="stylesheet" href="__CSS__/bootstrap-responsive.min.css" />
        <link rel="stylesheet" href="__CSS__/unicorn.login.css" />
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></head>
    <body>
        <div id="logo">
            <img src="__IMG__/logo.png" alt="" />
        </div>
        <div id="loginbox">            
            <form id="loginform" class="form-vertical" action="{:U('/Prom/Login/check@'.  getDomain())}" method="post"/>
            <p style="color: #f00;">
            <if condition="$err eq 1">
                请填写账号和密码
            <elseif condition="$err eq 2"/>
                账号或密码错误
            </if>
            </p>
            <div class="control-group">
                <div class="controls">
                    <div class="input-prepend">
                        <span class="add-on"><i class="icon-user"></i></span><input name="username" type="text" placeholder="账号" />
                    </div>
                </div>
            </div>
            <div class="control-group">
                <div class="controls">
                    <div class="input-prepend">
                        <span class="add-on"><i class="icon-lock"></i></span><input name="pwd" type="password" placeholder="密码" />
                    </div>
                </div>
            </div>
            <div class="form-actions">
                <span class="pull-left"><a href="#" class="flip-link" id="to-recover">忘记密码？</a></span>
                <span class="pull-right"><input type="submit" class="btn btn-inverse" value="登陆" /></span>
            </div>
        </form>
        <form id="recoverform" action="#" class="form-vertical" />
        <p>在下面输入你的Email地址，我们会通过邮件告诉你怎样重置密码。</p>
        <div class="control-group">
            <div class="controls">
                <div class="input-prepend">
                    <span class="add-on"><i class="icon-envelope"></i></span><input type="text" placeholder="邮箱地址" />
                </div>
            </div>
        </div>
        <div class="form-actions">
            <span class="pull-left"><a href="#" class="flip-link" id="to-login">&lt; 返回登陆框</a></span>
            <span class="pull-right"><input type="submit" class="btn btn-inverse" value="Recover" /></span>
        </div>
    </form>
</div>

<script src="__JS__/jquery.min.js"></script>  
<script src="__JS__/unicorn.login.js"></script> 
</body>
</html>
